IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[Setting]') AND TYPE in (N'U'))
BEGIN
CREATE TABLE [dbo].[Setting](
	[setting_id] [int] IDENTITY(1,1) NOT NULL,
	[key] [nvarchar](50) NOT NULL,
	[value] [nvarchar](max) NOT NULL,
	[create_date] [datetime] NULL default(getdate()),
	[update_date] [datetime] NULL,
	CONSTRAINT PK_setting_id PRIMARY KEY CLUSTERED (setting_id)
)
END